'Usage Dim instance As CalcSubtotalFunction Dim args() As Object Dim value As Object value = instance.Evaluate(args)
Parameters
- args
The args contains 2 - 255 items: function_num, [ref1], [ref2], ..
Function_num is the number 1 to 11 (includes hidden values) or 101 to 111 (ignores hidden values) that specifies which function to use in calculating subtotals within a list.
Ref1, ref2 are 1 to 254 ranges or references for which you want the subtotal.
Return Value
A System.Double value that indicates the evaluate result.